<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:p="http://primefaces.org/ui"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:t="http://myfaces.apache.org/tomahawk">

<h:body>
	<h:form>
		<p:menubar>
			<p:menuitem value="Pagina Inicial" icon="ui-icon-home"
				action="/restrito/telaInicial.xhtml" ajax="false"/>
			<p:submenu label="Cadastro">
				<p:menuitem value="Usuairo" icon="ui-icon-contact"					/>
				<p:separator />
				<p:menuitem value="Salas" icon="ui-icon-clipboard"					 />
				<p:separator />
				<p:menuitem value="Equipamentos" icon="ui-icon-clipboard"	
				action="#{equipamentoBean.novoEquipamento}"	ajax="false"	 />
			</p:submenu>
			<p:submenu label="Listagem">
				<p:menuitem value="Lista de usuarios" icon="ui-icon-document"
					 />
				<p:separator />
				<p:menuitem value="Lista de salas" icon="ui-icon-document"					 />
				<p:separator />
				<p:menuitem value="Lista de equipamentos" icon="ui-icon-document" 
				action="#{equipamentoBean.showListaEquipamento}" ajax="false" />
			</p:submenu>
			<p:menuitem value="Agendamento" action="/schedule.xhtml" immediate="true" ajax="false">
			
			</p:menuitem>
			
			<f:facet name="options">
				<p:commandButton value="Sair" icon="ui-icon-closethick"
					action="/publico/index.xhtml" ajax="false" immediate="true"> 
				</p:commandButton>
			</f:facet>
		</p:menubar>

	</h:form>
</h:body>
</html>